package com.geek.bean.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Min;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class SaveAddressVO {

    private Integer id ;
    private String addressDetail;
    private String areaCode;
    private String city;
    private String county;
    private String name;
    private String province;
    @Min(value = 11, message = "手机号码长度必须为11位")
    private String tel;
    private Boolean isDefault;

}